﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Core
{
    public class ResourceAndPermission : Entity
    {
        public virtual Resource Resource { get; set; }

        public virtual Permission Permission { get; set; }

        [JsonIgnore]
        public virtual ICollection<Role> Roles { get; set; }
    }
}
